"""编辑线索页面"""
from selenium.webdriver.common.by import By


from page.base_page import BasePage


class EditCluePage(BasePage):
    url="/index.php?m=leads&a=edit&id=28"
    save_locator=(By.CSS_SELECTOR, '#form1 > table > tfoot > tr > td:nth-child(2) > input.btn.btn-primary')
    def click_save(self):
        self.driver.find_element(*self.save_locator).click()